package edu.hnzj.service;

import java.util.List;

import edu.hnzj.entity.Commodity;
import edu.hnzj.util.JsonResult;

public interface CommodityService {
	public JsonResult<List<Commodity>> commodityList();
	public JsonResult<Object> add(Commodity commodity);
	public JsonResult<Object> delete(int id);
	public JsonResult<Object> update(Commodity commodity);
	public JsonResult<List<Commodity>> findById(int id);
	

}
